//
//  UIImageView+M.m
//  deliveryM
//
//  Created by 赵张杰 on 2018/10/9.
//  Copyright © 2018年 JSS. All rights reserved.
//

#import "UIImageView+M.h"

@implementation UIImageView (M)

- (void)m_setImageWithUrlString:(NSString *)urlString {
    [self setImageWithURL:[NSURL URLWithString:urlString] options:YYWebImageOptionSetImageWithFadeAnimation];
}

- (void)m_setImageWithUrlString:(NSString *)urlString placeholder:(NSString *)placeholder {
    [self setImageWithURL:[NSURL URLWithString:urlString] placeholder:[UIImage imageNamed:placeholder] options:YYWebImageOptionSetImageWithFadeAnimation completion:nil];
}

@end
